package com.cn.xiaonuo.tcrfinance.tcrorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.xiaonuo.tcrfinance.tcrorder.entity.PvVouchers;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PvVouchersMapper extends BaseMapper<PvVouchers> {
    /**
     * 获取购物券数量
     * @param orderIdList
     * @param curTime
     * @return
     */
    List<PvVouchers> getVouchersNum(@Param("orderIdList") List<String> orderIdList,
                                                @Param("curTime") String curTime);
}